class P458 {

	public static void main(String[] args) {
		String line = readLn();
		while (line != null) {
			process(line);
			line = readLn();
		}
	}

	private static void process(String line) {
		int length = line.length();
		for (int k = 0; k < length; k++) {
			System.out.print(getChar(line.charAt(k)));
		}
		System.out.println();
	}

	private static char getChar(char c) {
		int x = (int)c;
		x -= 7;
		if (x < 0) {
			x = 255 - x;
		}
		return (char)x;
	}

	static String readLn() {
		String newLine = System.getProperty("line.separator");
		StringBuffer buffer = new StringBuffer();
		int car = -1;
		try {
			car = System.in.read();
			while ((car > 0) && (car != newLine.charAt(0))) {
				buffer.append((char) car);
				car = System.in.read();
			}
			if (car == newLine.charAt(0))
				System.in.skip(newLine.length() - 1);
		} catch (java.io.IOException e) {
			return (null);
		}
		if ((car < 0) && (buffer.length() == 0))
			return (null);
		return (buffer.toString()).trim();
	}

}